module.exports = function loggingMiddleware(req,res,next){
  const time = new Date();
  console.log(`[${time.toLocaleString()}] ${req.method} ${req.url}`)
  next()
}
